#include <bits/stdc++.h>
using namespace std;
int main()
{
    cin.tie(0);
    cout.tie(0);
    ios::sync_with_stdio(false);
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    cout << "5\n19\n7\n1";
    fclose(stdin);
    fclose(stdout);
    return 0;
}
